//
//  OpenHongBaoView.h
//  OpenHongBao
//
//  Created by MC on 2018/3/19.
//  Copyright © 2018年 MC. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCCheckUserGrabMoneyModel.h"

typedef NS_ENUM(NSInteger, Type_HongBaoType) {
    
    HongBaoType_Success=0,
    HongBaoType_Overdue,
    HongBaoType_NoMoney
    
};

typedef void(^DismissOpenHongBaoViewBlock)();
typedef void(^GoToDetailHongBaoBlock)();
typedef void(^MoveAnimationHongBaoBlock)();

//    _dataSource=dataSource;
//    _moneyLab.text = @"88.88";
//    _remarkLab.text = @"【sun***】给你发了一个红包";

@interface  SuccessHongBaoView: UIView

-(void)relayOutUIWithMoney:(NSString *)money andRemark:(NSString *)remark;
@property (nonatomic,strong)id dataSource;
@property (nonatomic,retain)UIButton * lookRecordBtn;

@end

@interface  OverdueHongBaoView: UIView
@property (nonatomic,strong)id dataSource;
@end

@interface  NoMoneyHongBaoView: UIView
@property (nonatomic,strong)NSString * dataSource;
@property (nonatomic,strong)NSString * standardAmount;
@end

@interface OpenHongBaoView : UIView

@property (nonatomic,copy) DismissOpenHongBaoViewBlock dismissblock;
@property (nonatomic,copy) GoToDetailHongBaoBlock  goToDetailHongBaoBlock;
@property (nonatomic,copy) MoveAnimationHongBaoBlock  moveAnimationHongBaoBlock;
@property (nonatomic,strong)MCCheckUserGrabModel * dataSource;

-(void)showResultWithType:(Type_HongBaoType)Type;

@property (nonatomic,strong)SuccessHongBaoView * successHongBaoView;
@property (nonatomic,strong)OverdueHongBaoView * overdueHongBaoView;
@property (nonatomic,strong)NoMoneyHongBaoView * noMoneyHongBaoView;

@end
































